package dto.resp;


import java.sql.Date;

public class QueryOneArticleByIdRespDTO {
    private Integer id;
    private Integer AuthorId;
    private String title;
    private String context;
    private Date createDate;
    private Date updateDate;

    private Integer clickFavorite;

    private Integer visitor;

    //0为待审核，1为审核通过
    private Integer isView;

    public QueryOneArticleByIdRespDTO() {
    }

    public QueryOneArticleByIdRespDTO(Integer id, Integer authorId, String title, String context, Date createDate, Date updateDate, Integer clickFavorite, Integer visitor, Integer isView) {
        this.id = id;
        AuthorId = authorId;
        this.title = title;
        this.context = context;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.clickFavorite = clickFavorite;
        this.visitor = visitor;
        this.isView = isView;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAuthorId() {
        return AuthorId;
    }

    public void setAuthorId(Integer authorId) {
        AuthorId = authorId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getClickFavorite() {
        return clickFavorite;
    }

    public void setClickFavorite(Integer clickFavorite) {
        this.clickFavorite = clickFavorite;
    }

    public Integer getVisitor() {
        return visitor;
    }

    public void setVisitor(Integer visitor) {
        this.visitor = visitor;
    }

    public Integer getIsView() {
        return isView;
    }

    public void setIsView(Integer isView) {
        this.isView = isView;
    }
}
